package com.ushine.design.design.b_structural_type.d_decorator.a_practice;

/**
 * 具体装饰类
 *
 * @author yls
 */
public class ConcreteDecorator extends Decorator {

    public ConcreteDecorator(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        super.operation();
        //新增的业务方法
        addedBehavior();
    }


    //新增业务方法
    public void addedBehavior() {

    }
}
